﻿using System.Windows;
using SolutionUsingThreadPoolInViewModel.Model;
using SolutionUsingThreadPoolInViewModel.View;
using SolutionUsingThreadPoolInViewModel.ViewModel;

namespace SolutionUsingThreadPoolInViewModel
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            var mainWindow = new MainWindow { DataContext = new TimeConsumingProcessViewModel(new TimeConsumingProcessModel()) };
            mainWindow.Show();
        }
    }
}
